home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
076-100
/
087
/
elib
/
makefile
< prev
next >
Wrap
Makefile
|
1995-03-13
|
740b
|
42 lines
# elib - first exec library
PREDIR=RAM:
JUNKDIR=RAM:
PRE=elib.pre
PRESRC=preelib.c
CFLAGS=+I$(PREDIR)$(PRE) -T
ASRC=rtag.asm funky.asm libface.asm
SRC=elib.c
OBJ=elib.o rtag.o funky.o libface.o
INCL=elib.h
ARCH= $(ASRC) $(SRC) $(INCL) $(PRESRC) elib t.c liblink.asm makefile ReadMe
elib.arc:
arc a elib.arc $(ARCH)
all: $(PREDIR)$(PRE) LIBS:mylib.library mytest
LIBS:mylib.library: elib
copy elib libs:mylib.library
elib: $(OBJ)
ln $(OBJ) -lc -o $@
mytest: t.o liblink.o
ln -w t.o liblink.o -lc -o $@
# prepare pre-include (dump files)
$(PREDIR)$(PRE): $(PRE)
copy $(PRE) $(PREDIR)
$(PRE): $(PRESRC) $(INCL)
$(C)cc -A -o $(JUNKDIR)pre_garbage.o +H$(PRE) $(PRESRC)
$(OBJ): $(PRE)
tags: $(SRC) elib.h
ctags $(SRC) elib.h